package com.jinmdz.fmis.dao.admin.model.servicebusiness;


import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.jinmdz.fmis.dao.base.BaseItem;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;

/**
 * 服务业务数据关联列表Item
 *
 * @author guankui
 * @date 2020/3/12  17:23
 */
@ApiModel(value = "服务业务数据关联列表Item", description = "服务业务数据关联列表Item")
public class ServiceBusinessDataListItem extends BaseItem {

    /**
     * 业务类型
     */
    @ApiModelProperty(value = "业务类型", name = "businessType", position = 1)
    @JsonIgnore
    private String businessType;

    /**
     * 服务项目外键
     */
    @ApiModelProperty(value = "服务项目外键", name = "serviceItemId", position = 2)
    @JsonIgnore
    private Integer serviceItemId;

    /**
     * 物品服务类型外键
     */
    @ApiModelProperty(value = "物品服务类型外键", name = "serviceTypeId", position = 3)
    @JsonIgnore
    private Integer serviceTypeId;

    /**
     * 物品类型
     */
    @ApiModelProperty(value = "物品类型", name = "serviceTypeName", position = 4)
    private String serviceTypeName;

    /**
     * 项目编码
     */
    @ApiModelProperty(value = "项目编码", name = "itemCode", position = 5)
    private String itemCode;

    /**
     * 项目名称
     */
    @ApiModelProperty(value = "项目名称", name = "itemName", position = 6)
    private String itemName;

    /**
     * 项目价格
     */
    @ApiModelProperty(value = "项目价格", name = "itemPrice", position = 7)
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal itemPrice;

    /**
     * 项目数量
     */
    @ApiModelProperty(value = "项目数量", name = "itemNumber", position = 8)
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal itemNumber;

    /**
     * 项目单位
     */
    @ApiModelProperty(value = "项目单位", name = "itemUnit", position = 9)
    private String itemUnit;

    /**
     * 是否物品
     */
    @ApiModelProperty(value = "是否物品", name = "asGoods", position = 10)
    private Integer asGoods;

    /**
     * 是否项目包
     */
    @ApiModelProperty(value = "是否项目包", name = "asPackage", position = 11)
    private Integer asPackage;

    /**
     * 是否固定价格
     */
    @ApiModelProperty(value = "是否固定价格", name = "asFixPrice", position = 12)
    private Integer asFixPrice;

    /**
     * 停用状态
     */
    @ApiModelProperty(value = "停用状态", name = "disableState", position = 13)
    private Integer disableState;

    /**
     * 排序
     */
    @ApiModelProperty(value = "排序", name = "排序", position = 14)
    private Integer sort;

    public String getBusinessType() {
        return businessType;
    }

    public ServiceBusinessDataListItem setBusinessType(String businessType) {
        this.businessType = businessType;
        return this;
    }

    public Integer getServiceItemId() {
        return serviceItemId;
    }

    public ServiceBusinessDataListItem setServiceItemId(Integer serviceItemId) {
        this.serviceItemId = serviceItemId;
        return this;
    }

    public Integer getServiceTypeId() {
        return serviceTypeId;
    }

    public ServiceBusinessDataListItem setServiceTypeId(Integer serviceTypeId) {
        this.serviceTypeId = serviceTypeId;
        return this;
    }

    public String getServiceTypeName() {
        return serviceTypeName;
    }

    public ServiceBusinessDataListItem setServiceTypeName(String serviceTypeName) {
        this.serviceTypeName = serviceTypeName;
        return this;
    }

    public String getItemCode() {
        return itemCode;
    }

    public ServiceBusinessDataListItem setItemCode(String itemCode) {
        this.itemCode = itemCode;
        return this;
    }

    public String getItemName() {
        return itemName;
    }

    public ServiceBusinessDataListItem setItemName(String itemName) {
        this.itemName = itemName;
        return this;
    }

    public BigDecimal getItemPrice() {
        return itemPrice;
    }

    public ServiceBusinessDataListItem setItemPrice(BigDecimal itemPrice) {
        this.itemPrice = itemPrice;
        return this;
    }

    public BigDecimal getItemNumber() {
        return itemNumber;
    }

    public ServiceBusinessDataListItem setItemNumber(BigDecimal itemNumber) {
        this.itemNumber = itemNumber;
        return this;
    }

    public String getItemUnit() {
        return itemUnit;
    }

    public ServiceBusinessDataListItem setItemUnit(String itemUnit) {
        this.itemUnit = itemUnit;
        return this;
    }

    public Integer getAsGoods() {
        return asGoods;
    }

    public ServiceBusinessDataListItem setAsGoods(Integer asGoods) {
        this.asGoods = asGoods;
        return this;
    }

    public Integer getAsPackage() {
        return asPackage;
    }

    public ServiceBusinessDataListItem setAsPackage(Integer asPackage) {
        this.asPackage = asPackage;
        return this;
    }

    public Integer getAsFixPrice() {
        return asFixPrice;
    }

    public ServiceBusinessDataListItem setAsFixPrice(Integer asFixPrice) {
        this.asFixPrice = asFixPrice;
        return this;
    }

    public Integer getDisableState() {
        return disableState;
    }

    public ServiceBusinessDataListItem setDisableState(Integer disableState) {
        this.disableState = disableState;
        return this;
    }

    public Integer getSort() {
        return sort;
    }

    public ServiceBusinessDataListItem setSort(Integer sort) {
        this.sort = sort;
        return this;
    }
}
